package com.study.bob.dependencyinjection.designPattern;

/**
 * Created by bob on 2016/4/30.
 */
public class MyMessageDITest {
    public static void main (String args[]){
        String content = "test";
        String receiver = "305249280@qq.com";
        EmailServiceInjector injector = new EmailServiceInjector();
        Consumer consumer = injector.getConsumer();
        consumer.processMessage(content,receiver);

    }
}
